﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace csharpya
{
    public class A_1
    {
        public A_1(int a)
        {
            Console.WriteLine(a);
        }
    }

    public class B_1 : A_1
    {
        public B_1(int b): base(b / 2)
        {
            Console.WriteLine(b);
        }
    }

    public class C_1 : B_1
    {
        public C_1(int c): base(c / 2)
        {
            Console.WriteLine(c);
        }
    }
}
